<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template name='menu'>
<!--<xsl:variable name="file" select="/page/content/menu/file/text()"/>-->
<xsl:variable name="file" select="$root/menu/file/text()"/>
file: <xsl:value-of select="$file"/>
<xsl:for-each select="document($file)/menu/entry">
	<xsl:apply-templates/>
	<br/>
</xsl:for-each>
</xsl:template>

</xsl:stylesheet>
